package com.maiji.cloud.entities.shopingmall;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "bind_withdraw_account")
@TableName("bind_withdraw_account")
public class BindWithdrawAccountEntity {

	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId;
	
	@Column(name = "real_name", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String realName;//支付宝账号的认证名字/微信真实姓名
	
	@Column(name = "account", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String account;//支付宝账号/微信openid

	@Column(name = "type", type = MySqlTypeConstant.INT, length = 2)
	private Integer type; // 1:支付宝，2：微信
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
	private Date inTime;
	
}
